package com.qianfeng.mapper;

import com.qianfeng.entity.Department;

import java.util.List;

public interface DepartmentMapper {
    /**
     * 获取部门集合
     * @return
     */
    List<Department> getDepartmentList();

    /**
     * 通过ID获取部门
     * @param deptId
     * @return
     */
    Department getDepartmentById(Integer deptId);
}
